#ifndef PICSHOW_WINDOW_H
#define PICSHOW_WINDOW_H

#include <QWidget>
#include <QMessageBox>
namespace Ui {
class Picshow_window;
}

class Picshow_window : public QWidget
{
    Q_OBJECT

public:
    explicit Picshow_window(QWidget *parent = nullptr);
    ~Picshow_window();
    void show_picture();
    void send_num(int num);
    void paintEvent(QPaintEvent *event);
    bool eventFilter(QObject *obj, QEvent *event);
private:
    Ui::Picshow_window *ui;
    int myflag;
    QString PicturePath="/home/debian/picture/";
    QString Picture_name=NULL;

};

#endif // PICSHOW_WINDOW_H
